export default {
	getcurrent(state, data) {
		state.current = data
	},
	getsongId(state, id) {
		state.songId = id
	},
	getmusicurl(state, data) {
		state.musicurl = data.url
	}, //获取音乐链接
	getmusicAll(state, data) {
		state.songs = data.name
		state.author = data.author
		state.pic = data.pic
		state.authorId = data.authorId
		state.mvid = data.mvid
		state.musicurl = data.musicurl
		state.playindex = data.playindex
	}, //图片歌手信息等
	getfalg(state, flag) {
		state.flag = flag
	}, //播放开关
	getsize(state, data) {
		state.livebofang = data[0] //当前播放时间 00：00
		state.duration = data[1] //进度条时长
		state.bofang = data[2] //当前播放时间  0.00
		state.longtime = data[3] //当前播放时间  0.00
	},
	getsearchlist(state, data) {
		state.searchlist = data
	}, //搜到内容列表
	getsearchname(state, data) {
		state.searchname = data
	}, //搜索内容
	
	setdata(state, data) {
		state.livebofang = data
	},
	getcommentlist(state, data) {
		state.commentlist = data
	}, //歌单所有歌曲的数据

	increteIndex(state) {
		state.playindex++
	},
	getsearchlist(state, data) {
		state.searchlist = data
	}, //搜到内容列表


}
